{include file="biz/biz_header.html"} 
<script type="text/javascript">
	var order_id = "{$order_info.id}";
</script>
{include file="biz/biz_nav.html"}
<div class="wrap clearfix wb biz-wrap">
{include file="biz/biz_info_header.html"}
<div class="biz_index_box clearfix">

	<div class="p10 clearfix">
		<div class="uc-order">
		<table cellspacing="1" cellpadding="0" border="0" id="order_info">
								<tbody>
								<tr>
									<td class="ltd">{$LANG.ORDER_SN}：</td>
									<td class="rtd" colspan="3">{$order_info.order_sn}</td>
								</tr>

								<tr>
									<td>订单状态：</td>
									<td class="rtd" colspan="3">
										{if $order_info.status eq 0}
										等待处理
										{elseif $order_info.status eq 1}
										<span class="cg">等待{if $order_info.deal_type eq 1}K歌{else}就餐{/if}</span>
										{elseif $order_info.status eq 2}
										<span style="color:red">{if $order_info.deal_type eq 1}K歌{else}就餐{/if}到达</span>	{if $order_info.order_money}&nbsp;&nbsp;消费金额:{$order_info.order_money}{/if}
										{elseif $order_info.status eq 3}
										退订成功
										{elseif $order_info.status eq 4}
										订单失败{if $order_info.order_tip}<span class="ml5 icons i005"></span>失败原因：{$order_info.order_tip}{/if}
										{/if}	
									</td>
								</tr>
								
								<tr>
									<td class="ltd">{if $order_info.deal_type eq 1}K歌{else}就餐{/if}时间：</td>
									<td class="rtd">
									{function name="to_date" v="$order_info.order_time" f="Y年m月d日"} {function name="to_date" v="$order_info.order_time" f="H点i分"}
									</td>
									<td class="ltd">{$LANG.ORDER_CREATE_TIME}：</td>
									<td class="rtd">{function name="to_date" value=$order_info.create_time}</td>
								</tr>
								
								<tr>
									<td >包房需求：</td>
									<td class="rtd" colspan="3">
										{if $order_info.deal_type eq 1}
											{if $order_info.seat_status eq 0}
											小包厢
											{elseif $order_info.seat_status eq 1}
											中包厢
											{elseif $order_info.seat_status eq 2}
											大包厢
											{elseif $order_info.seat_status eq 3}
											VIP包厢
											{/if}
										{else}
											{if $order_info.seat_status eq 0}只订大厅{else}包厢{if $order_info.seat_switch eq 0}(订不到包房就订大厅){/if}{/if}
											{if $order_info.extra_serve eq 1}
											<span class="ml10">吸烟区</span>
											{elseif $order_info.extra_serve eq 2}
											<span class="ml10">无烟区</span>
											{/if}
											<span class="ml10">
			                                	接受最低消费：
												{if $order_info.min_expense eq 500}
												500元以内
												{elseif $order_info.min_expense eq 1000}
												501元-1000元
												{elseif $order_info.min_expense eq 2000}
												1001元-2000元
												{elseif $order_info.min_expense eq 5000}
												2001元-5000元
												{else}
												无
												{/if}
											</span>
										{/if}
									</td>
								</tr>
								
								<tr>
									<td class="ltd">人数：</td>
									<td class="rtd" colspan="3">
										{$order_info.order_nums}<br>
									</td>
								</tr>
								
								<tr>
									<td rowspan="2">预订者信息：</td>
									<td class="rtd" colspan="3">
										手机:{$order_info.order_tel}
									</td>
								</tr>
								<tr>
									<td class="rtd" colspan="3">
										姓名:{$order_info.order_name} {if $order_info.order_sex eq 1}先生{else}女士{/if}
									</td>									
								</tr>
								
								<tr>
									<td rowspan="2" class="ltd" >其他预订者信息：</td>
									<td class="rtd" colspan="3">
										手机:{if $order_info.order_other_tel}{$order_info.order_other_tel}{else}无{/if}
									</td>
								</tr>
								<tr>
									<td class="rtd" colspan="3">
										姓名:{if $order_info.order_other_name}{$order_info.order_other_name} {if $order.order_other_sex eq 1}先生{elseif $order.order_other_sex eq 0}女士{else}公司{/if}{else}无{/if}
									</td>									
								</tr>
														
								<tr>
									<td>
									其他信息：									
									</td>									
									<td style="text-align: left;" class="rtd" colspan="3">
									{$order_info.order_msg}
									</td>
								</tr>
								
								<tr>
									<td colspan="4">
										{if (get_gmtime() - $order_info.order_time) < (24*3600)}<!--保留一天处理时间-->
										{if $order_info.status eq 0}
										<a href="{url x="biz" r="ctorder#step1" p="id=$order_info.id"}" class="uc_gray_btn mr10" target="_blank"><span class="icons i001 mr5"></span>等待{if $order_info.deal_type eq 1}K歌{else}就餐{/if}</a>
										{/if}
										{if $order_info.status eq 1}
										<a href="{url x="biz" r="ctorder#daoda" p="id=$order_info.id"}" id="BizOrderDaoDa" class="uc_gray_btn mr10" target="_blank"><span class="icons i006 mr5"></span>{if $order_info.deal_type eq 1}K歌{else}就餐{/if}到达</a>
										{/if}
										{/if}
										{if  $order_info.status lt 2}
										<a href="{url x="biz" r="ctorder#cancel" p="id=$order_info.id"}" id="BizOrderCancel" class="uc_gray_btn mr10" target="_blank"><span class="icons i004 mr5"></span>撤销订单</a>
										{/if}
										<span class="grebtn grebtn_s lh22">
						                    <i class="green_line"></i>
						                    <strong class="grebtn_in"><a href="{url x="biz" r="ctorder"}" class="grebtn_bg">返回订单列表</a></strong>
						                    <i class="green_line"></i>
						                </span>
									</td>
								</tr>
								
							</tbody></table>
		</div>
	</div>
	<div class="blank"></div>
</div><!--end biz_index_box-->

</div>
{include file="biz/biz_footer.html"} 